Method of managing an exercise routine of a person by means of an apparatus

ABSTRACT

A method of managing an exercise routine of a person, involves providing at least one earbud, the at least one earbud capable of playing an audio file to the person wearing the at least one earbud, the at least one earbud comprising sensors for monitoring physiological data of the person, and based on the physiological data of the person, the at least one earbud providing audio feedback of target exercise parameters, rates, or both target exercise parameters and rates, to help the person optimize physical activity of the person. An apparatus includes a signal processor connected to the at least one earbud, wherein said apparatus is configured to perform the method.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a division of U.S. patent application Ser. No. 15/394,115, filed Dec. 29, 2016, which is a continuation of U.S. patent application Ser. No. 14/607,810 filed Jan. 28, 2015 (now U.S. Pat. No. 9,801,554), which is a division of U.S. patent application Ser. No. 12/195,502, filed Aug. 21, 2008 (now U.S. Pat. No. 8,979,762), which claims priority in U.S. Provisional Patent application No. 61/006,321, filed Jan. 7, 2008, the contents of these documents incorporated herein in their entireties by reference.

BACKGROUND TO THE INVENTION 1. Field of the Invention

The current invention relates to an exercise device for monitoring body parameters of a wearer during exercise. The invention also relates to sensor for determining sensor signals from which body parameters can be derived and to a method of determining body parameters during exercise.

2. Background Information

To achieve fitness goals it is necessary to exercise in the right intensity. Heart rate is one of the most accurate measurements of the intensity or exertion level of an exercise workout. The fitness of the heart is the key to aerobic endurance. Aerobic endurance is extremely important for both general fitness training and professional athletes. Heart monitors are one of the most effective aids for tracking and developing the progress on the path to increased aerobic endurance. For example, to loss weight and burn fat, it is desirable to exercise at 60-70% of one's maximum heart rate. To improve cardiovascular fitness, it is more suitable to exercise at 70-80% of one's maximum heart rate. Exercise at the wrong intensity will just waste the effort or may even harm the body.

Heart rate can easily be checked by checking the pulses at the wrist manually for, say, 15 seconds during exercise and calculate beats per minute. However, stopping during exercise to count pulse is not only inconvenient, but also disrupts both the workout and the heart rate. This method also introduces pressure to the carotid artery which slows down the pulse. Electronic heart monitors are an effective way to track and record heart rate over the course of an entire workout. They not only provide a complete record of the heart rate for the duration of your workout, but they are also more accurate than manual methods, and can provide other information such as body temperature, SpO2 (Oxyhemoglobin saturation by pulse oximetry) are also important information to determine condition of the body.

For professional athletes, cardiovascular fitness is the most significant factor in speed. Measuring the work-rate of the heart is one of the most accurate methods of determining how much benefit an athlete derives from a workout. A heart rate monitor can also help to avoid stressing the body too much. They are a useful tool for maximize the efficiency of the training while minimizing the opportunity for injury. Heart rate monitors also enable professional athletes to exercise below a certain ceiling, i.e. avoid depleting the body's glycogen stores and ensuring that the body has the energy to perform intense workouts with vigor. For general fitness training, a heart rate monitor can function as a coach guiding the user when he or she can handle more and work harder.

Most popular heart rate monitors use ECG type chest belt with a wireless link to sports watch. The heartbeat is detected by sensing the ECG signal from the chest belt and a pulse is sent to the sports watch via wireless connection. This type of heart rate monitor is accurate and reliable, but has the disadvantage that it is not comfortable for the user to wear a plastic belt on the chest during exercise. The belt will also become very dirty after use. Another method of detecting heartbeat is to use IR LED and IR sensor through the ear lobe or finger tip. This type of detector has the intrinsic problem of motion artifact and they are simply not reliable during exercise.

There are many devices that can measure body parameters of a person. For example, by using an infrared ear thermometer, clinical thermometer, the user could get his body temperature and by using pulse oximeter the user could get his heartbeat and the amount of oxygen attached to the hemoglobin. However, none of these devices is suitable for continuous monitoring of the body parameter when the user is doing exercise. The thermometer, for example, is not suitable for use in motion. For finger pulse oximeter, study suggested the motion will result in blood volume changes that invalidate its measurement [ref—“Motion Artifact in Pulse Oximetry”, M. R. Neuman and N. Wang, Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Vol. 12 No. 5, 1990].

FIG. 1 is a schematic illustration is a typical finger type pulse oximeter implementation. Measuring heartbeat rate and SpO2 (blood oxygenation) is based on the absorption of red and infrared light. The technology is very sensitive to motion and hence is generally not suitable for use in personal exercise monitors. A few mechanical designs attempt to improve motion tolerance and enable the measurement to be used later in signal processing such that the heart rate in addition to SpO2 can be derived when the wearer is in motion. The device comprises two light sources, typically using LEDs of known wavelength. The wavelengths of the two light sources are 880-920 nm (Infrared or IR) and 660 nm (Red) respectively. To obtain heart rate (HR) only the IR light source is needed. To calculate blood oxygen levels (pulse oximetry) both the Red and the IR LED's would need to be used. In either case a photo detector is used to sense the light that has been transmitted or reflected into the skin or application sight. This transmission of light into an area of the body that is carrying blood and reflected back to the photo detector will be effected by the pulsiltile flow caused by each heartbeat. This slight change in light intensity is detected and extracted to create a waveform commonly known as a plethysmograph. This waveform or the actual detection of the pulsiltile flow can be converted into heart rate in the absent of motion. To calculate pulse oximetry the IR and the red light emissions are separately analyzed and then used in an empirical calculation to generate a predetermined blood oxygen level. The calibration and empirical calculation can be found in many literatures.

FIG. 2 shows an example of noise induced by motion in an IR LED and IR heartbeat/SpO2 sensor. This noise signal may be of similar or even larger amplitude than the heartbeat signal and they are, in normal situation, in the same frequency band of the heartbeat signal (1-3 Hz). There is no easy method to extract the heartbeat signal from the mixture of the motion signal and heartbeat signal.

SUMMARY OF THE INVENTION

Accordingly, is an object of the present invention to provide an exercise device for determining the body parameters of a wearer during exercise. This particular object of the present invention to provide a sensor and method of determining heartbeat from a sensor signal that overcome or at least ameliorates problems with known devices.

A noninvasive light sensor for detecting heart beat signals has a circular support member engageable circumferentially with a body part of a person. A plurality of light emitters and light detectors are located about a circumference of the circular support member for respectively emitting light signals into different areas of tissue surrounding the body part, and receiving reflected light signals from the different areas of tissue surrounding the body part. In preferred embodiments the support member is one of a ear bud insertable within an ear canal or a band locatable about a wrist or arm.

The light emitters and light detectors may comprises both red and infra-red light emitters and detectors. In preferred embodiments there are three light emitters located 120 degrees apart about the circumference of the support member and three light detectors located 120 degrees apart about the circumference of the support member. The light emitters and light detectors are preferably located in pairs consisting of one of the emitters and one of the detectors.

Further aspects of the invention will become apparent from the following description.

BRIEF DESCRIPTION OF THE DRAWINGS

An exemplary form of the present invention will now be described by way of example only and with reference to the accompanying drawings, in which:

FIG. 1 is a schematic illustration of prior art operation of a heartbeat sensor/pulse oximeter,

FIG. 2 is a graphical illustration of the heartbeat signal with motion noise for a prior art earphone sensor,

FIG. 3 is a schematic illustration of a first embodiment of a personal exercise device according to the invention having an earphone type sensor,

FIG. 4 is a schematic illustration of the earphone sensor arrangement for device of FIG. 3,

FIG. 5 is a perspective illustration of an ear bud of the earphone sensor,

FIG. 6 is a schematic illustration of a flexible printed circuit (FPC) for locating and connection of sensors within the ear bud,

FIG. 7 is a perspective illustration of the ear bud without a rubber over-molding,

FIG. 8 is a section illustration of the ear bud,

FIG. 9 is a perspective illustration of an alternative ear bud type earphone sensor,

FIG. 10 is a perspective illustration of a bud and behind-the-ear parts of the alternative ear bud,

FIG. 11 is a schematic illustration of a second embodiment of a personal exercise device according to the invention having a arm band type sensor,

FIG. 12 is a second schematic illustration of the personal exercise device having an arm band type sensor,

FIG. 13 is a schematic illustration of the sensor control and processing means of the exercise device,

FIG. 14 is a graphical illustration of the signal detected during exercise,

FIG. 15 is a block diagram of a method for detecting steps taken by a user during walking or running,

FIG. 16 is a schematic block diagram of body parameter base playback control in the exercise device, and

FIG. 17 is a flow chart of the implementation of the body parameter based playback control.

DESCRIPTION OF THE EXEMPLARY EMBODIMENTS

Aspects of the invention will now be illustrated as practiced in a first embodiment of a personal exercise device comprising an earphone sensor for listening to audio files and also for detecting body parameters; such as heartbeat, SpO2 and temperature; during exercise, a signal processing means for resolving sensor information into heartbeat and other body parameters and a workout assistance means for providing feedback of body parameters, exercise instructions and entertainment functions such as, but not limited to, music, video, game, e-book, photo, etc. However, this is not intended to limit the scope of functionality or use of the invention. In a most basic embodiment of the invention the exercise device comprises simply an earpiece sensor and signal processing means for detecting heartbeat for feedback to the user or transmission to another device such as an exercise machine or exercise monitoring equipment. The earphones of the invention include several mechanical design characteristics that ameliorate movement inaccuracies inherent in ear sensors known hitherto. It is not essential to the invention that all such preferred mechanical design characteristics be included in all embodiments of the invention.

FIG. 3 shows the block diagram of a personal exercise device. A pair of earphones 1 that can be worn by the user is connected to a portable base unit 2 by a cable 3 having conductor means 4, 5 for carrying both audio signals and body parameter sensor signals. The portable base unit 2 has a microprocessor 8, audio module 6 for providing audio signals to the earphones, a sensor module 7 for communicating with the earphone sensors and a user interface/display module 9 for interaction with the user. In one exercise mode the exercise device determines heartbeat of the user and then controls the playback of audio content in accordance with changes in the heartbeat. The heartbeat is also recorded for future reference and for comparing against targeted training level, etc. The earphones 1 may also include an IR thermometer or small thermistor embedded in the earphones 50 for determining body temperature. The bases unit and or earphones 50 may also include an accelerometer/G-sensor for detecting steps from running or walking motion. The earphones may also include a microphone for picking up ambient sound signal and the user could enable or disable or adjusting the ratio of the mixing of ambient sound with content playing back at will. This is necessary because of the mechanical structure for the ear buds blocks a significant part of ambient sound from reaching the user. The earphone mechanical design is illustrated in FIGS. 4 through 10. FIG. 4 schematically illustrates the sensor arrangement of the earphones. Signal emitter 21, 22, 23 and detector 24, 24, 26 devices are located around the circumferential periphery 27 of the earphone. The emitter and detector devices may be either Red or Infrared (IR) or both for detecting heartbeat and optionally SpO2. The ear piece is of a type commonly known as an ear bud 50 which has a substantially cylindrical shape for insertion within the outer ear canal of the wearer. In the preferred embodiment the emitters and detectors are grouped in pairs 21-24, 22-25, 23-26 located 120 degrees apart about the circumferential periphery 27 of the ear bud 50. The dashed lines 30, 31, 32 show the path of the IR signals through the soft tissue surrounding the internal wall of the ear canal. A first signal 31 from emitter 21 is detected by detector 25, a second signal 32 from emitter 22 is detected by detector 26 and a third signal 33 from emitter 23 is detected by detector 24. The main signal noise is due to radial motion of the ear bud 50 in the x, y plane within the ear cannel because these movement changes the distance between the sensor and the ear canal wall, which affects the transmitted and receive signal. By using the physical construction where the IR sensors are installed in several circular symmetric locations the effect due to motion in the x, y plane can be approximated as a linear effect on the amplitude of the received signal. It should be noted that the invention has the optimal performance when the IR sensors are installed symmetrically but this should not be a limitation of the invention.

Some of the signal emitted from the emitters 21, 22, 23 will be reflected from the skin surface of the ear canal. The amount of the IR signals 31, 32, 33 that is reflected from the skin also varies substantially with the aforementioned x, y plane movement of the ear bud 50 within the ear canal. The reflected light is detected by the detectors and must be allowed for in later processing to determine heartbeat and other body parameters from the detected signals. The amount of referred light that is detected by the detectors can be ameliorated by locating the emitters and detectors within recess channels 35, 36, 37 below the outer peripheral surface 28 of the ear bud 50. The recess channels 35, 36, 37 can comprise air or optical glass mediums and form a narrow angle wave guide for IR signals emitted from the emitters or entering the detectors. These wave guide channels 35, 36, 37 produces a narrow angle beam to direct the light in such a way to allow the maximum amount signal by increasing the signal path of the light up and into deeper tissue before the light reflects and is captured by the detector. They also limiting large fluctuation in DC single picked up by detectors.

The outer part 38 of the ear bud 50 consists of a soft over-molding made of resiliently deformable memory foam or silicone rubber that dampens the effects of motion. The foam is compressed when the ear bud 50 is inserted into the ear canal and expands to hold the bud 50 firmly in the ear canal to ameliorate relative motion between the emitters and detectors and the ear canal wall during exercise movement. One possible optional feature is to make outer piece 38 removable and interchangeable for varying the size and shape to fit a wide variety of users having different size ear canals. The properties (elasticity, softness as known as durometer, memory or rebound rate) of this soft over-molding 38 are chosen to maximizing the damping effects.

The depth placement of the emitters and detectors inside the ear is also important, but not essential, to reducing the effects of motion introduced within the ear during exercise. The emitters and detector are placed at the end of the inner part of the ear bud 50 which is further into the ear canal to help reduce the effects of motion. This placement helps reduce the vibration as the inner ear part is more firmly attached to the bone and muscle (non-soft tissue) which does not move as much during exercise.

A first arrangement of an ear bud 50 is illustrated in FIGS. 5 through 8. The interchangeable resilient outer part 38 is sized to fit within the ear canal of a person. FIG. 7 illustrates the core parts of the ear bud 50 with the resilient outer part 38 removed. The structure consists of a speaker 44, a hollow inner core 41 for sound conduction from the speaker in to the ear, an resilient inner foam structure 42 for softness and flexibility, FPC 43 or thin wirings for connection to emitter and detectors and a rubber over-molding 38 for increase comfort and protection of sensors. The resilient inner foam 42 may be compressed during insertion of the bud 50 into the ear to provide further support in the ear canal.

The FPC 43 comprises a hub 46 having three 120 degree radially extending arms 47. The emitter and detector pairs 21-24, 22-25, 23-26 are located at the distal ends of the FPC 43 and are encapsulated with epoxy. The encapsulation provides a round-top to avoid injury to the user when wearing the device and at the same time prevents the emitters and receivers from damage. An alternative approach is to use sensors with suitable packaging. The FPC arms 47 are made of a flexible material so that sensors follow the foam 42 when squeezed into the ear canal. Flexible wiring tracks are located along the radial arms 47 connecting the emitters and detectors to solder bonding pads 48 on the hub 46. In one embodiment the FPC and arms is formed as a flex circuit. The hub 46 is located centrally within the back of the ear bud 50 and the radial arms brought forward within slots 45 on the surface of foam 42. The depth of the slots 45 is designed to allow the sensors to be slightly above the foam surface. The foam 42 is then covered with the rubber over-molding 38 for increase comfort and protection of sensors.

FIGS. 9 and 10 illustrate an alternative arrangement of an ear bud 50 in a behind-the-ear design. The cord 3 to each bud 50, hangs around the back of the ear to also help in securing an in ear portion 51 into the ear canal and thus reducing motion introduced into the signal by exercise movement. Another feature of this design is to have the cable 3 enter at the back or bottom of the behind the ear portion. This cable placement design will reduce the motion effects that can be produced by the pulling forces of the cable during movement. Since the cable 3 can exert a force on the ear piece the reduction of its size and weight is achieved by locating some of the electronics or circuitry into a behind an ear portion 52 of the earphone. This feature reduces the number of wires and thus thickness and weight of the cable 3. There are many wires needed to drive and capture the signal from the emitters and detector as well as the wires for the audio speakers and the temperature sensor. The circuit design has a communication method between the main unit 2 and the behind the ear portion 52 circuitry.

FIGS. 11 and 12 illustrate a second embodiment of an exercise device according to the invention employing an arm-band type sensor. In the first embodiment the sensor was a circular ear bud for location within an ear canal, with the emitters and detectors located in pairs 120 degrees apart around the outer circumference of the bud for obtaining signals from the tissue surrounding the ear canal. In the arm-band embodiment an annular band 60 is provided which locates about the wrist 61 or upper arm 62 of the user. Emitters and detectors are provided in three pairs 64, 65, 66 at locations 120 degrees apart around the inner circumference of the band 60. The emitters and detectors are of the same type as in the ear bud, however the emitters and detectors are located on the inner circumference of the band 60 so as to be pressed up against the skin of the wrist 61 or arm 62 when the band 60 is worn. The sensor signal path is through the tissue of the wrist 61 or arm 62. The band 60 is made of a resilient material so as to fit snugly about the wrist 61 or arm 62 of the wearer and maintain the emitter and detector pairs 64, 65, 66 in position with the arm tissue. The band 60 may be a stand alone band or, as illustrated in FIGS. 11 and 12, may be a support strap for wearing the portable base unit 2 on the wrist 61 or upper arm 62 of the users. The arm-band embodiment may be preferable to those who run or cycle in busy traffic areas and prefer not to impair their hearing with earphones for safety reasons. The embodiment shown in FIG. 11 may be, for example, a wrist watch wherein the base unit only provides visual feedback. However, in some embodiments the base unit 2 may also have an ear phone output jack for connection of a standard pair of earphones for listening to music and audio feedback from the portable exercise device if so desired.

The head phones 1 and arm bands 60 of embodiments of the invention use multiple pairs of emitters and detectors at symmetrical locations to aid the removal or minimization of the additive noise introduced in to the detected sensor signals by exercise motion of the wearer. The microprocessor 8 of the main unit 2 receives the detected sensor signals and analyses them to detect the wearer's heartbeat and other body parameters, such as SpO2. FIG. 13 is a schematic block diagram of the sensor control and processing means. A LED driver control is used to send driving signals to the LED emitters 21, 22, 23. The detected signals from detectors 24, 25, 26 are amplified by op-amps 62 with DC bias control 63. The amplified analog signals go through a multiplexer 64 and an analog-to-digital (AID) converter 65 for input to the Microprocessor 8. The signals are analyzed in Microprocessor 8 to detect the wearer's heartbeat and other body parameters.

The detected signals 31, 32, 33 are modeled as follows:

m ₁(t)=L ₁ I ₀₁(t)(1+y ₁ I ₀₁(t)(1+y ₁ hb(t))(1+N _(s1)(t)+N _(f1)(t)+z ₁(t))  (1)

m ₂(t)=L ₂ I ₀₂(t)(1+y ₂ hb(t))(1+N _(s2)(t)+N _(f2)(t)+z ₂(t)), and  (2)

m ₃(t)=L ₃ I ₀₃(t)(1+y ₃ hb(t))(1+N _(s3)(t)+N _(f3)(t)+z ₃(t))  (3)

Where:

m(t), m₂(t), m₃(t) are the signals received at the 3 detectors respectively

I₀₁(t), I₀₂(t), I₀₃(t) are the transmitted signals to the IR LED emitters respectively

L₁, L₂, L₃ are constant gain of each IR sensor

hb(t) is the heartbeat signal

y₁, y₂, y₃ are coupling coefficients of the heartbeat signal hb(t)

N_(s1)(t), N_(s2)(t), N_(s3)(t) are slow varying noise in the detected signals

N_(f1)(t), N_(f2)(t), N_(f3)(t) are typical additive thermal noise in the detected signals, and

z₁(t), z₂(t), z₃(t) are noise signals due to motion.

This model is based on the assumption that the motion signals z₁(t), z₂(t), z₃(t) are in the same plane as the circular plane formed by the 3 sensors (the x-y plane) and they can be decomposed to 2 orthogonal components h(t) and v(t) as shown in FIG. 14. Mathematically this is z_(k)(t)=ε_(k)(h(t)cos(θ_(k))+v(t)sin(θ_(k))), where h(t), v(t) are the motion signal being projected to horizontal and vertical directions and the direction of sensor k is θ_(k) from the horizontal direction and ε_(k) are coupling coefficients for the motion signal to the sensors. For the three detectors 120 degrees apart, θ_(k) is 90, 210 and 330 degrees.

We can make the assumption that both y_(k) ε_(k) are much smaller than 1 and we can represent the received signal as DC and AC components (m_(ack)(t), m_(dck)(t)). By calculating the signal AC amplitude when there is no motion, we can normalize the 3 channels gain. Equations (1)(2)(3) can be approximated as:

m _(ac1)(t)=hb(t)+N′s ₁(t)+N′ _(f1)(t)+z ₁′(t)  (4)

m _(ac) ₂ (t)=hb(t)+N′s ₂(t)+N′ _(f2)(t)+z ₂′(t)  (5)

m _(ac) ₃ (t)=hb(t)+N′s ₃(t)+N′ _(f3)(t)+z ₃′(t)  (6)

where N′_(sk)(t), N′_(fk)(t), z_(k)′(t) are scaled versions of the original signals.

The signal due to heartbeat should have similar effect on the three signals 31, 32, 33 and should be in phase in each signal and differ only by a scaling factor. The sensors are placed evenly in a circle and so the effect of motion in x-y plane should be different for the 3 symmetrically located sensors. When there is no motion, or a very small amount of motion, the maximum signal to noise ratio (SNR) of the heartbeat signal can be obtained by adding up the three AC component input signal, i.e. y(t)=m_(ac) ₁ (t)+m_(ac) ₂ (t)+m_(ac3)(t).

When there is exercise motion the noise signals z₁′(t), z₂′(t), z₃′(t) become dominated in the received signals 31, 32, 33. We can solve this problem by finding the column vector ŵ=[w₁ w₂ w₃]^(T) such that y=ŵ^(T)M

where

${{M = {\begin{bmatrix} {m_{{ac}\; 1}\lbrack 0\rbrack} & {m_{{ac}\; 1}\lbrack 1\rbrack} & \cdots & \cdots & {m_{{ac}\; 1}\left\lbrack {K - 1} \right\rbrack} \\ {m_{{ac}\; 2}\lbrack 0\rbrack} & {m_{{ac}\; 2}\lbrack 2\rbrack} & \cdots & \cdots & {m_{{ac}\; 2}\left\lbrack {K - 1} \right\rbrack} \\ {m_{{ac}\; 3}\lbrack 0\rbrack} & {m_{{ac}\; 3}\lbrack 0\rbrack} & \cdots & \cdots & {m_{{ac}\; 3}\left\lbrack {K - 1} \right\rbrack} \end{bmatrix}\mspace{14mu} {and}}}\quad}{\quad{{\quad{\hat{\quad y} =}\quad}{\quad{\quad{\quad\begin{bmatrix} {y\lbrack 0\rbrack} & {y\lbrack 1\rbrack} & \cdots & {y\left\lbrack {K - 1} \right\rbrack} \end{bmatrix}}}}}}$

and ŷ is a linear combination of input signal which maximize:

w ^ T  s ^  s ^ T  w ^ w ^ T  mm  w ^

where

_(mm) is the cross correlation matrix of the 3 signals from motion.

ŝ=[s₁ s₂ s₃]^(T) is the corresponding gain of the heartbeat signal, in this case where all the 3 input channels are normalized.

ŝ=[1 1 1]^(T) and

_(mm)=MM^(T)−

²ŝŝ^(T) where

² is the variance of the heartbeat signal. Since

_(mm) is positive definite, we can write:

_(mm)=R^(1/2)·R^(1/2) and we write û=R^(1/2)ŵ

ŵ=R^(−1/2)û

The problem becomes:

$\max\limits_{{\hat{u}} = 1}\mspace{11mu} {{\hat{u}}^{T}R^{\frac{1}{2}}{\hat{s} \cdot {\hat{s}}^{T}}R^{\frac{1}{2}}\hat{u}\mspace{14mu} {or}}$ $\max\limits_{{\hat{u}} = 1}\left( {{\hat{u}}^{T}R^{\frac{1}{2}}\hat{s}} \right)^{2}$

The expression is maximum when:

û=R ^(−1/2) ŝ

∴ŵ=R ^(1/2)(R ^(−1/2) ŝ)=

_(mm) ⁻¹ ŝ

where

_(mm)=MM^(T)−σ²ŝŝ^(T)

The amplitude of 3 input heartbeat signal is normalized by calculating the variance (or standard deviation) of each channel when the user is not running.

FIG. 15 schematically illustrates the processing of the sensor signals 31, 32, 33 to determine heartbeat. The following is a description of each block.

Block 71: A simple Finite Input Response (FIR} low pass filter is used to remove all high frequency signals. Slow drifting DC offset is removed using a filter or a moving window to extract the DC offset and subtract back from the signal.

Block 72: The signal amplitude of the heartbeat signal on each sensor is identified when there is no user motion. This is done by calculating the standard deviation of the 3 input signals when there is no motion. The 3 signal paths are then normalized.

Block 73: We then determine whether there is motion. The signal are check in the time domain. If the heartbeat signal dominates, all the 3 signals should be synchronous and in-phase. If the motion of the user is big enough, it is expected that the signal from motion dominates and sensor signals should not be all in phase. The correlation index across the three signals is calculated. The amplitude of the signal when compared with rest time signal amplitude is a clear indicator for motion.

If there is no motion the three signals are added together (with normalized amplitude) to improve the SNR.

If there is motion: e.g. running, the acquired signals are cut into blocks of length K for calculating the covariance matrix

_(mm) =MM ^(T)−σ² ŝŝ ^(T).

σ²ŝŝ^(T) can be obtained calculating the standard deviation of the 3 input signals when there is no motion. The 3 input signals are then normalized to having signal standard deviation of a when there is no motion. Then σ²ŝŝ^(T) becomes

$\sigma^{2}\begin{bmatrix} 1 & 1 & 1 \\ 1 & 1 & 1 \\ 1 & 1 & 1 \end{bmatrix}$

We then calculate the vector:

w=

_(mm) ⁻¹ ŝ

All 3 channels are calibrated and normalized when there is no motion

Ŝ=[111]^(T)

w is a 3×1 column vector: ŷ=ŵM y[n] is a linear combination of the 3 input signals the signal due to motion should be canceled out and preserve the heartbeat signal The linear combination may also be done in frequency domain as well. The time domain waveform can be restored using an inverse Fast Fourier Transform (FFT). The signal y[n] should contain the heartbeat signal+noise.

Block 74: The heartbeat signal is detected using match filters in the time domain. The user's resting heartbeat rate signal can be recorded as templates. The corresponding heart rate of these templates can be calculated and recorded as well. For each range of the heart rate, a template is stored for each user. For the range where there is no recorded template a time wrapping approach is used to predict an approximate template. These templates are then used to build multiple matched filters for the user. The corresponding matched filter will be selected according to current heartbeat rate of the user.

Block 76: The peaks of the matched filter output are detected and they are marked as the beat time. The inter-beat intervals are calculated and stored in a buffer.

Block 77: Based on the current beat rate, an algorithm was implemented to detect missed and false alarm of the beats. In case of a miss or false alarm the inter-beat intervals will be modified accordingly to improve accuracy of the heart rate calculation.

Block 78: The heart rate is then calculated from the inter-beat intervals buffer.

The exercise device processes, displays and stores health related data, such as heart rate, blood oxygen level (SpO2), body temperature, steps walked or run, entered weight to calculate calories burned and body mass index (BMI). The user connects to the headphones that not only playback audio files but also simultaneously captures end users health related data inside the ear. The data is transferred to the portable entertainment device and workout assistant for processing, displaying/notifying and storing the data. The following various functions are available on the device. This is, however, not an exhaustive list and more or less features may be included in some embodiments. Preferred features include:—

1. Playback of the audio/video files stored on the device, 2. Determining and displaying the instantaneous heat rate and storing a heat rate profile during an exercise period. 3. Storing and displaying the number of steps taken. 4. Determining, displaying and storing the health related status of the end user, including temperature, blood oxygen level and other body parameters. 5. Providing visual and audio feedback of target exercise parameters and/or rates to help the end user optimize his physical activity—for example a pre approved beep as a sign to slow down, a pre approved different signal/sound for signaling end user to pick up the pace and a pre defined sound for providing signal on what percentage of the exercise has been completed. 6. Transfer of date to a PC for further analysis, review or summary, 7. Providing visual and audio feedback, for example via pause or stop playback, if the device detects one or more of the ear buds is not capturing a heartbeat which mean a possible detach and resume playback after the device detects a heartbeat from one or both of the ear buds. 8. Providing visual and audio feedback of target exercise parameters by changing the tempo, pitch, equalizer according to the inputted vital sign so as to raise or reduce the workout intensity of the user sub-consciously—FIGS. 16 and 17 shows the block diagram of the way to implement the change of audio signal based on vital sign. 

1. A method of managing an exercise routine of a person, comprising: providing at least one earbud, the at least one earbud capable of playing an audio file to the person wearing the at least one earbud; the at least one earbud comprising sensors for monitoring physiological data of the person; and based on the physiological data of the person, the at least one earbud providing audio feedback of target exercise parameters, rates, or both target exercise parameters and rates, to help the person optimize physical activity of the person.
 2. The method of claim 1, wherein the physiological data includes heart-rate.
 3. The method of claim 1, wherein the physiological data includes body temperature.
 4. The method of claim 1, wherein the physiological data includes body oxygen level.
 5. The method of managing an exercise routine as claimed in claim 1, wherein if the physiological data is above a predetermined threshold, the audio feedback indicates to the person to slow down; and if the physiological data is below a predetermined threshold, the audio feedback indicates to the person to pick up pace.
 6. The method of managing an exercise routine as claimed in claim 5, wherein the audio feedback indicating to the person to slow down is a reduction of tempo of the audio file played in the at least one earbud; and the audio feedback indicating to the person to pick up pace is an increase of tempo of the audio file played in the at least one earbud.
 7. The method of managing an exercise routine as claimed in claim 6, wherein the audio feedback indicating to the person to slow down is a reduction of the heaviness of the beat in the audio file played in the at least one earbud; and the audio feedback indicating to the person to pick up pace is an increase of the heaviness of the beat in the audio file played in the at least one earbud.
 8. The method of managing an exercise routine as claimed in claim 5, wherein the audio feedback indicating to the person to slow down is a change in tempo, pitch or equalizer of the audio file to be less exciting to the person; and the audio feedback indicating to the person to pick up pace is a change in tempo, pitch or equalizer of the audio file to be more exciting to the person.
 9. The method of managing an exercise routine as claimed in claim 1, wherein the audio feedback indicates the percentage of the exercise has been completed.
 10. An apparatus, comprising: at least one earbud; and a signal processor connected to the at least one earbud, wherein said apparatus is configured to perform the method of claim
 1. 